package com.twu.biblioteca.libraryitems;

/**
 * Created by sarahc on 1/14/14.
 */
public class Movie extends LibraryItem {

    private String name;
    private String year;
    private String director;
    private int rating;

    public Movie (String name, String year, String director, int rating){
        super();
        this.name = name;
        this.year = year;
        this.director = director;
        this.rating = rating;
    }

    @Override
    public String toString() {
        return String.valueOf(getId()).concat(" - ").concat(name).concat("[").concat(year).concat("]");
    }
}
